/**
 * 
 */
package de.midnightdance.client.ui.composites;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.layout.GridData;

/**
 * @author Surfer
 *
 */
public class CompositeVampireFullText extends Composite {
	private Text textVampire;
	private String stringVampireFull;	

	public CompositeVampireFullText(Composite parent, int style) {
		super(parent, style);		
		setLayout(new GridLayout(1, false));
		
		textVampire = new Text(this, SWT.BORDER);
		textVampire.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
	}
	
	public String getStringVampireFull() {
		stringVampireFull = textVampire.getText();
		return stringVampireFull;
	}

	public void setStringVampireFull(String vampireText) {
		textVampire.setText(vampireText);
		this.stringVampireFull = vampireText;		
	}
}
